package com.sxl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxl.domain.Askers;
import com.sxl.domain.Students;
import com.sxl.service.AskersService;
import com.sxl.mapper.AskersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xue
* @description 针对表【askers】的数据库操作Service实现
* @createDate 2022-05-02 12:13:32
*/
@Service
public class AskersServiceImpl extends ServiceImpl<AskersMapper, Askers>
    implements AskersService{
    @Autowired
    private AskersMapper askersMapper;
    @Override
    public int deleteByAskerId(Integer askerId) {
        return askersMapper.deleteByAskerId(askerId);
    }

    @Override
    public List<Askers> findTodayCheckAskers() {
        return askersMapper.findTodayCheckAskers();
    }

    @Override
    public List<Students> findNotNetStu() {
        return askersMapper.findNotNetStu();
    }
}




